package com.ruoyi.base.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 果品库存操作对象 base_fruit_stock
 *
 * @author ruoyi
 * @date 2024-01-21
 */
@Data
public class BaseFruitStock extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 果品类型
     */
    @Excel(name = "果品类型")
    private String fruitType;

    /**
     * 存储类型
     */
    @Excel(name = "存储类型")
    private String stockType;

    /**
     * 果品品种
     */
    @Excel(name = "果品品种")
    private String fruitBreed;

    /**
     * 库存重量
     */
    @Excel(name = "库存重量")
    private Double weight;


    private Long storeId;
    private String remark;
    /**
     * 仓库名称
     */
    @Excel(name = "仓库名称")
    private String storeName;

    private Double moveWeight;

    private Integer fruitMoveType;

    private Integer fruitMoveStatus;

    private String reveiveBy;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setFruitType(String fruitType) {
        this.fruitType = fruitType;
    }

    public String getFruitType() {
        return fruitType;
    }

    public void setStockType(String stockType) {
        this.stockType = stockType;
    }

    public String getStockType() {
        return stockType;
    }

    public void setFruitBreed(String fruitBreed) {
        this.fruitBreed = fruitBreed;
    }

    public String getFruitBreed() {
        return fruitBreed;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Double getWeight() {
        return weight;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Long getStoreId() {
        return storeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("fruitType", getFruitType())
                .append("stockType", getStockType())
                .append("fruitBreed", getFruitBreed())
                .append("weight", getWeight())
                .append("remark", getRemark())
                .append("storeId", getStoreId())
                .toString();
    }
}
